package com.macro.mall.dao.oms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.oms.OmsOrderItemDO;
import com.macro.mall.model.oms.OmsOrderItemQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OmsOrderItemMapper extends BaseMapper<OmsOrderItemDO> {
    long countByExample(OmsOrderItemQuery example);

    int deleteByExample(OmsOrderItemQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(OmsOrderItemDO record);

    int insertSelective(OmsOrderItemDO record);

    List<OmsOrderItemDO> selectByExample(OmsOrderItemQuery example);

    OmsOrderItemDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OmsOrderItemDO record, @Param("example") OmsOrderItemQuery example);

    int updateByExample(@Param("record") OmsOrderItemDO record, @Param("example") OmsOrderItemQuery example);

    int updateByPrimaryKeySelective(OmsOrderItemDO record);

    int updateByPrimaryKey(OmsOrderItemDO record);
}
